home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
dev
/
misc
/
vahunz.readme
< prev
Wrap
Text File
|
1998-03-07
|
5KB
|
153 lines
Short: Make source code un-/more readable
Author: Thomas Aglassinger <agi@giga.or.at>
Uploader: Thomas Aglassinger <agi@giga.or.at>
Type: dev/misc
Kurz: Macht Quellcode un-/besser lesbar
Requires: AmigaOS 2.04, 68020, 2MB
TITLE
vahunz - Make source code un-/more readable.
VERSION
1.1
AUTHOR
Thomas Aglassinger <agi@giga.or.at>
DESCRIPTION
Vahunz is a CLI-based replace command that can supersede many words
across several files with only one invocation.
Normally the target words will be created randomly, turning
meaningful names into unreadable garbage. For example, a function
name like read_input_file() could be replaced by g7b() or something
as useless. Additionally, comments and indention can be removed.
As an option, you can specify certain substitutes, so Vahunz can
also be applied in a non-destructive manner. This can be used to
replace inconsistent or unreadable names by something more
meaningful. Among programmers, this process is known as "The Great
Renaming".
FEATURES
- Stores less/more readable copy in a different directory
- Supports C, C++ and Java
- New names since last run are easy to see
- Names can easily be declared to be modified or left untouched;
for example, it makes no sense to replace printf().
- Words being part of comments or string constants are not replaced
- Fast, as internally names are stored in an AVL-tree
NEW FEATURES
- Maintains a second dictionary with names to be ignored
- Includes some dictionaries with common names to be ignored
- Supports "The Great Renaming"
- Added some options to back-trace problems in vahunzed code
- Several small fixes and improvements
SPECIAL REQUIREMENTS
AmigaOS 2.04, 2MB of regular memory, 68020
AVAILABILITY
- Every Aminet-mirror, file "dev/misc/vahunz.lha", for example:
ftp://wuarchive.wustl.edu/pub/aminet/dev/misc/vahunz.lha
- http://www.giga.or.at/~agi/vahunz/
PRICE
Freeware.
DISTRIBUTABILITY
Freely distributable as long the conditions described in the manual
are met.
EXAMPLE
For example,you could have a code excerpt like this:
int main(void)
{
while (sepp_age < 83)
{
grow_older(sepp_name, &sepp_age);
print_sepp();
}
printf("\n%s died.\n", sepp_name);
exit(EXIT_SUCCESS);
}
After vahunzing, this is what it might look like:
int main(void)
{
while (g8b < 83)
{
z3v(v63, &g8b);
f_v();
}
printf("\n%s died.\n", v63);
exit(EXIT_SUCCESS);
}
As you can see, the internal names have been garbled, but the
symbols of the standard library are preserved.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
143717 50263 65.0% 20-Feb-98 19:42:54 +amiga.ignore
5365 2332 56.5% 20-Feb-98 19:42:36 +ansi.ignore
132716 45805 65.4% 20-Feb-98 19:43:10 +unix.ignore
204 116 43.1% 09-Feb-98 08:37:14 +Makefile
367 236 35.6% 09-Feb-98 08:38:44 +older.c
165 118 28.4% 09-Feb-98 08:34:48 +older.h
781 413 47.1% 14-Feb-98 20:13:40 +sepp.c
6070 2505 58.7% 23-Feb-98 00:33:14 +dictionary.html
3532 1625 53.9% 23-Feb-98 00:32:44 +future.html
138 138 0.0% 14-Jan-96 17:27:46 +back.gif
190 190 0.0% 14-Jan-96 17:20:08 +copy.gif
170 170 0.0% 14-Jan-96 17:14:34 +index.gif
176 176 0.0% 14-Jan-96 17:14:44 +main.gif
189 189 0.0% 14-Jan-96 17:15:02 +next.gif
168 168 0.0% 14-Jan-96 17:28:12 +noback.gif
211 211 0.0% 14-Jan-96 17:20:36 +nocopy.gif
200 200 0.0% 14-Jan-96 17:15:28 +noindex.gif
201 201 0.0% 11-Jan-98 16:39:54 +nomain.gif
212 212 0.0% 14-Jan-96 17:15:52 +nonext.gif
213 213 0.0% 15-Jul-96 23:44:28 +noprev.gif
188 188 0.0% 14-Jan-96 17:16:08 +prev.gif
141 141 0.0% 04-Nov-95 02:20:36 +up.gif
981 981 0.0% 21-Feb-98 01:00:48 +vahunz-now.gif
1545 1545 0.0% 21-Feb-98 01:08:08 +vahunz.gif
4077 1741 57.2% 23-Feb-98 00:32:26 +index.html
2745 1314 52.1% 23-Feb-98 00:32:36 +legal.html
5434 2397 55.8% 23-Feb-98 00:32:34 +overview.html
3789 1838 51.4% 23-Feb-98 00:32:40 +problems.html
8967 3504 60.9% 23-Feb-98 00:38:36 +reference.html
1563 759 51.4% 23-Feb-98 00:32:42 +requirements.html
2276 1069 53.0% 23-Feb-98 00:32:38 +support.html
10851 4310 60.2% 23-Feb-98 00:32:32 +tutorial.html
2056 960 53.3% 23-Feb-98 00:32:46 +use-case-1.html
4911 2061 58.0% 23-Feb-98 00:32:48 +use-case-2.html
2912 1347 53.7% 23-Feb-98 00:33:08 +use-case-3.html
3469 1689 51.3% 23-Feb-98 00:33:10 +use-case-4.html
3126 1460 53.2% 23-Feb-98 00:33:14 +use-case-5.html
2734 1255 54.0% 23-Feb-98 00:33:16 +use-case-6.html
36132 20896 42.1% 23-Feb-98 00:31:28 +vahunz
2448 1284 47.5% 20-Feb-98 23:19:32 +vahunz.readme
-------- ------- ----- --------- --------
395330 156220 60.4% 24-Feb-98 01:44:04 40 files